size of binary tree in python